package com.whmall.service.crm.module.invoice.dao;

import com.whmall.service.crm.entity.dto.invoice.OverseasLoanCompanyQueryReqDTO;
import com.whmall.service.crm.module.invoice.entity.OverseasLoanCompanyDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OverseasLoanCompanyMapper {

    int deleteById(Long id);

    int insert(OverseasLoanCompanyDO record);

    int insertSelective(OverseasLoanCompanyDO record);

    OverseasLoanCompanyDO selectById(Long id);

    List<OverseasLoanCompanyDO> selectBy(OverseasLoanCompanyQueryReqDTO reqDTO);

    int updateByIdSelective(OverseasLoanCompanyDO record);

    int updateById(OverseasLoanCompanyDO record);

    OverseasLoanCompanyDO selectByNameEn(String nameEn);
}